package netty.discard;

import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.Socket;

/**
 * Instruction：
 * Author：@author MaLi
 */
public class DiscardClient {
    public static void main(String[] args) {
        Socket socket = new Socket();
        try {
            socket.connect(new InetSocketAddress("localhost", 8888));
            //socket.getOutputStream().write(1);
            socket.close();
        } catch (IOException e) {
            throw new RuntimeException(e);
        }

    }
}
